<#-- 导入 spring 的宏 -->
<#import "/spring.ftl" as spring/>

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Login</title>
    <style>
        .language-selector {
            float: right;
            margin-bottom: 20px;
        }
    </style>
</head>
<body>
<!-- 语言选择器 -->
<div class="language-selector">
    <a href="?_lang=zh_CN">简体中文</a> |
    <a href="?_lang=en_US">English</a> |
    <a href="?_lang=zh_TW">繁体中文</a>
</div>
<form>
    <#-- 通过 spring.message 指令加载国际化资源 -->
    <@spring.message code='login.username'/><input name="username"/><br/>
    <@spring.message code='login.password'/><input name="password" type="password"/>
</form>
</body>
</html>
